home *** CD-ROM | disk | FTP | other *** search
/ Revista do CD-ROM 100 / CD-ROM 100.iso / aplic / oo1_1 / f_0328 / scalc.jar / text / scalc / guide / calc_timevalues.xml < prev    next >
Encoding:
Extensible Markup Language  |  2003-04-30  |  2.1 KB  |  17 lines

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <html><head><title>Calculating Time Differences</title><meta name="filename" content="text/scalc/guide/calc_timevalues"/><help:css-file-link xmlns:help="http://openoffice.org/2000/help"/><!--The CSS style header method for setting styles--><style type="text/css">
  3.  
  4.         p.P1{
  5.                 }
  6.         </style></head><body>
  7.   
  8.   
  9.   <p class="P1"/>
  10.   <p class="Head1"><help:paragraphinfo state="U" number="53" xmlns:help="http://openoffice.org/2000/help"/><help:key-word value="calculating; time differences" tag="kw68069_1" xmlns:help="http://openoffice.org/2000/help"/><help:to-be-embedded Eid="calc_timevalues" xmlns:help="http://openoffice.org/2000/help"><help:link Id="68069">Calculating Time Differences</help:link></help:to-be-embedded></p>
  11.   <p class="Paragraph"><help:paragraphinfo state="U" number="54" xmlns:help="http://openoffice.org/2000/help"/>If you want to calculate time differences, for example, the time between 23:30 and 01:10 in the same night, use the following formula:</p>
  12.   <p class="Paragraph"><help:paragraphinfo state="U" number="55" xmlns:help="http://openoffice.org/2000/help"/>=(B2<A2)+B2-A2</p>
  13.   <p class="Paragraph"><help:paragraphinfo state="U" number="56" xmlns:help="http://openoffice.org/2000/help"/>The later time is B2 and the earlier time is A2. The result of the example is 01:40 or 1 hour and 40 minutes.</p>
  14.   <p class="Paragraph"><help:paragraphinfo state="U" number="57" xmlns:help="http://openoffice.org/2000/help"/>In the formula, an entire 24-hour day has a value of 1 and one hour has a value of 1/24. The logical value in parentheses is 0 or 1, corresponding to 0 or 24 hours. The result returned by the formula is automatically issued in time format due to the sequence of the operands.</p>
  15.   <p class="ParaList"><help:paragraphinfo state="S" xmlns:help="http://openoffice.org/2000/help"/><help:embedded Id="65598" Eid="related" xmlns:help="http://openoffice.org/2000/help"/></p>
  16.   <p class="ParaList"><help:paragraphinfo state="S" xmlns:help="http://openoffice.org/2000/help"/><help:embedded Id="68068" Eid="calc_date" xmlns:help="http://openoffice.org/2000/help"/></p>
  17.  </body></html>